package com.sunwayworld.basemodule.common.auditrecord.dao.impl;

import com.sunwayworld.basemodule.common.auditrecord.bean.LimsAuditRecordBean;
import com.sunwayworld.basemodule.common.auditrecord.dao.LimsAuditRecordDao;
import com.sunwayworld.basemodule.common.auditrecord.mapper.LimsAuditRecordMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class LimsAuditRecordDaoImpl extends MybatisDaoSupport<LimsAuditRecordBean, Long>implements LimsAuditRecordDao {
    
    @Autowired
    private LimsAuditRecordMapper auditRecordMapper;
    
    @Override
    public LimsAuditRecordMapper getMapper() {
        return auditRecordMapper;
    }

    @Override
    public void deleteByBusinessId(Long businessId) {
        getMapper().deleteByBusinessId(businessId);
    }
}
